home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / test / cpp.c < prev    next >
Text File  |  1992-11-23  |  216b  |  21 lines

  1.  
  2. #define F1(x)  F2(x)
  3. #define F2(x)  F1(x)
  4.  
  5. F1(fubar);    F2(fubar)
  6.  
  7. #define MAX(a,b)    (a,b)
  8.  
  9. MAX(MAX(1,2),3);
  10.  
  11. #define FUBAR(x)    (x)
  12.  
  13. FUBAR(FUBAR(4));
  14.  
  15. #define BAR(x)  BAR(1,x,2,BAR(99))
  16.  
  17. BAR(3);
  18.  
  19. BAR(BAR(4));
  20.  
  21.